  const contrast = {
    state: {
      kf: {},
      group: {},
      curGroup:[],
    },
    getters: {
      getKf: state => {
        return state.kf
      },
      getGroup: state => {
        return state.group
      },
      getCurGroup: state => {
        return state.curGroup
      },
    },
    actions: {
      updateKf ({ commit },kf) {
        commit('UPDATEKF',kf)
      },
      updateGroup ({ commit },group) {
        commit('UPDATEGROUP',group)
      },
      updateCurGroup ({ commit },curGroup) {
        commit('UPDATECURGROUP',curGroup)
      },
    },
    mutations: {
      UPDATEKF(state,kf) {
        state.kf = kf
      },
      UPDATEGROUP(state,group) {
        state.group = group
      },
      UPDATECURGROUP(state,curGroup) {
        state.curGroup = curGroup
      },
    }
  }
  export default contrast
